﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace KBS8.Data.GdfDataFilter
{
    class LevelHandler : OutputHandler
    {
        /// <summary>
        /// The mehtod performs the action of the handler
        /// </summary>
        public override void Handle()
        {
            ILevelFilterBehaviour[] levels = new ILevelFilterBehaviour[]{new Level0Filter(), new Level1Filter(), new Level2Filter(), new Level3Filter(), new Level4Filter()};
            levels[Output.ZoomLevel].DoFilter(Output);
            base.Handle();
        }
    }
}
